package cn.tedu._03vehicle.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class NoticeListVO {
    private Long id;
    private String title;
    private Integer type;
    private Integer status;
    /*
    1.pattern参数:指定日期时间的格式，小大小，大小小
      year Month day Hour minute second
    2.timezone参数:指定时区
      * GMT+8
      * Asia/Shanghai
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT")
    private Date createTime;
}
